LassoScript Utility
Basics Browse Detail

[Image->Format]

Tag Link [Image->Format] Category Image
Type Member Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

Returns the image format (GIF, JPEG, etc).

Syntax

[Image Variable->Format]

Parameters

No Parameters Required.

Examples

To return the format of an image:

Use the [Image->Format] tag on a defined image variable. This returns a string value representing the file format of the image.

[Var: 'MyImage' =(Image: '/images/image.gif')]
[$MyImage->Format]